<div id="pAnime" class="page">
    <div class="pageTitle">
        <h1><?php echo $this->translate('anime'); ?></h1>
    </div>
    <div class="animeList">
        <div class="listTitle">
            <div class="field w50px">&nbsp;</div>
            <div class="field w750px"><?php echo $this->translate('name'); ?></div>
            <div class="field xCenter w50px"><?php echo $this->translate('type'); ?></div>
            <div class="field xCenter w50px"><?php echo $this->translate('release_year'); ?></div>
        </div>
        <?php foreach ($this->paginator as $anime): ?>

        <div class="listItem">
            <div class="field xCenter w50px">
                <?php echo $anime->id; ?>

            </div>
            <div class="field w750px">
                <a href="<?php echo $this->url(array(
                    'controller' => 'anime',
                    'action'     => 'view',
                    'id'         => $anime->id
                ), 'default', true); ?>" title="<?php echo $this->escape($anime->title); ?>">
                    <?php echo $this->escape($anime->title); ?></a>
            </div>
            <div class="field xCenter w50px">
                <?php echo $anime->type ? $this->translate(Model_Anime::$types[$anime->type]) : null; ?>

            </div>
            <div class="field xCenter w50px">
                <?php echo $anime->start_date ? $this->date($anime->start_date, Ext_View_Helper_Date::FORMAT_YYYY) : null; ?>

            </div>
            <div class="clear"></div>
        </div>
        <?php endforeach; ?>

    </div>
    <div class="nav">
        <?php echo $this->paginator->count() > 1 ? $this->paginationControl(
            $this->paginator, 'Sliding', '_partials/paginator/default.phtml') : ''; ?>
        
    </div>
</div>